package dancetwotiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceActivitiesDrawPrizeExchangeJourneyPoint 碎片兑换旅途点
type DanceActivitiesDrawPrizeExchangeJourneyPoint struct {
	Id             int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivitiesId   int64          `json:"activitiesId" gorm:"column:activities_id;type:bigint;default:0;not null;comment:活动id"`        // 开始时间
	PieceElementNo int64          `json:"pieceElementNo" gorm:"column:piece_element_no;type:bigint;default:0;not null;comment:命中开始区间"` // 碎片编号
	JourneyPoints  int64          `json:"journeyPoints" gorm:"column:journey_points;type:bigint;default:0;not null;comment:星光值"`       // 旅途点
	CreatedId      int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`            // 创建人id
	CreatedAt      time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt      time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt      gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
